<div id="control">
	<a href="{Url::anchor("admin/{Input::get(1)}")}" class="item small text"><img src="/styles/admin/gfx/icons/small/cancel.png" alt="Đóng"/><span>Đóng</span></a>
</div>

<div class="section">
	<div class="box">
		<div class="title">
			Thêm/Chỉnh sửa quảng cáo
			<span class="hide"></span>
		</div>
		<div class="content">
			<form action="{Url::current()}" method="post" enctype="multipart/form-data">
                <div class="row">
					<label>Hình ảnh (Size: 165 x 128 pixel)</label>
					<div class="right">
						{if isset($slider.images) && $slider.images neq ''}<img src="{$slider.images}" width="160px" height="100px" alt="image" style="margin-bottom:10px" /><br />{/if}
						<input type="file" name="images" />
					</div>
				</div> 
                <div class="row">
					<label>Sắp xếp: </label>
					<div class="right"><input type="text" style="width:80px" name="txtSort" value="{if isset($slider.sort)}{$slider.sort}{/if}" /> (Chỉ nhập số)</div>
				</div>
                <div class="row">
					<div class="right">
                        <input type="hidden" name="token" value="{Security::setToken('token_form')}" />
						<input type="hidden" name="action" value="{$action}" />
						<button type="submit"><span>Save</span></button>
					</div>
				</div>
			</form>
		</div>
	</div>
</div>